package com.demo.sharding.constant;

/**
 * @Author: WuPeng
 * @Date: 2021/6/11 2:24 下午
 */
public class CommonConstants {

    /**
     * 分库的虚拟节点范围
     **/
    public static final String SHARDING_DATASOURCE_VIRTUAL_NODE_COUNT_RANG = "sharding.datasource.virtual.node.count.rang";

    /**
     * 分表的虚拟节点范围
     **/
    public static final String SHARDING_TABLE_VIRTUAL_NODE_COUNT_RANG = "sharding.table.virtual.node.count.rang";

    /**
     * 分库的虚拟节点数量
     **/
    public static final String SHARDING_DATASOURCE_VIRTUAL_NODE_COUNT = "sharding.datasource.virtual.node.count";

    /**
     * 分表的虚拟节点数量
     **/
    public static final String SHARDING_TABLE_VIRTUAL_NODE_COUNT = "sharding.table.virtual.node.count";

    /**
     * 分割符
     **/
    public static final String _DEFAULT_SEPARATOR_COMMA = ",";

}
